<?php
//
//-------------------------------------------------
// | CreateTime: 2020/8/28 11:31
//+------------------------------------------------
// | Author: chenxueyuan
//+------------------------------------------------
// | Describe: ...
//+------------------------------------------------

namespace app\index\controller;



class Article extends Common
{
    public function article($id=''){
            $article_model= new \app\admin\model\Article();
        $article_model_get=$article_model->get($id);
        if($article_model_get){
            $article_model_get->tags;
            $this->assign('article',$article_model_get);
            return view();
        }else{
            $this->error('非法传参','index/index');
        }

    }

}